package cn.jsu.oj.dispatchServer.satellite.handler.patrol.hard;

import java.io.Serializable;

/**
 * gpu
 *
 * @author shan
 * @date 2022/07/04
 */
public class Gpu implements Serializable {
    
    private String name;
    private Double useMem;
    private Double totalMem;
    private Double useAble;
    private Double useRate;

    public Gpu() {
    }

    public Gpu(String name, Double useMem, Double totalMem, Double useAble, Double useRate) {
        this.name = name;
        this.useMem = useMem;
        this.totalMem = totalMem;
        this.useAble = useAble;
        this.useRate = useRate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getUseMem() {
        return useMem;
    }

    public void setUseMem(Double useMem) {
        this.useMem = useMem;
    }

    public Double getTotalMem() {
        return totalMem;
    }

    public void setTotalMem(Double totalMem) {
        this.totalMem = totalMem;
    }

    public Double getUseAble() {
        return useAble;
    }

    public void setUseAble(Double useAble) {
        this.useAble = useAble;
    }

    public Double getUseRate() {
        return useRate;
    }

    public void setUseRate(Double useRate) {
        this.useRate = useRate;
    }

    @Override
    public String toString() {
        return "Gpu{" +
                "name='" + name + '\'' +
                ", useMem=" + useMem +
                ", totalMem=" + totalMem +
                ", useAble=" + useAble +
                ", useRate=" + useRate +
                '}';
    }
}
